package kz.kstu.scantest.app.delegate.api;

import kz.kstu.scantest.business.entity.security.Account;

import javax.security.auth.login.LoginException;

/**
 * @author Filipp_Stankevich
 *         created: 08.09.11 14:29
 */
public interface AccountDelegate {

    Account login(String login, String password) throws LoginException;

    void changePassword(Long accountId, String newPassword);
}
